package com.mask.im.common.enums;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author jian
 */

@Getter
@AllArgsConstructor
public enum StatusCodeEnum {

	EMAIL_ARGUMENTS_FAIL(4004,"请检查邮箱格式"),

	MOBILE_ARGUMENTS_FAIL(4005,"请检查手机号格式"),

	INVALID_PARAMETERS(4006,"参数异常"),

	ATTACK_LOCK(-5001,"警告!恶意访问"),

	BLACKLIST(-5002,"恶意操作！账号被禁止"),

	SUCCESS(200,"操作成功"),

	LOGIN_FAILED(40001,"登入失败"),

	ACCOUNT_EXIST(40003,"账户已存在"),

	FAIL(50001,"操作失败"),

	ERROR(50000,"系统异常");

	private final Integer code;

	private final String desc;
}
